package com.fenghongzhang.day012;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class MyReceiver4 extends BroadcastReceiver {

    private static final String TAG = "MyReceiver4";
    @Override
    public void onReceive(Context context, Intent intent) {

        if (intent.getAction().equals("com.feng3")){
            Log.i(TAG, "onReceive: 3");

        }else if(intent.getAction().equals("com.feng4")){
            Log.i(TAG, "onReceive: 4");

        }

    }
}
